package cn.abcsys.cloud.devops.runtime.service;

import cn.abcsys.cloud.devops.runtime.bean.GridBean;
import cn.abcsys.cloud.devops.runtime.bean.Result;
import cn.abcsys.cloud.devops.runtime.entity.Registry;
import cn.abcsys.cloud.devops.runtime.model.RegistryModel;
/**
 * 仓库业务服务接口
 * @author mayunhao
 *
 */
public interface RegistryService {
	/*
	 * 分页查询
	 */
	public GridBean getRegistryList(RegistryModel registryModel);
	/*
	 * 详情查询
	 */
	public Result getRegistryDetail(Integer registryId);
	/*
	 * 添加
	 */
	public Result createRegistry(Registry registry);
	/*
	 * 更新
	 */
	public Result updateRegistry(Registry registry);
	/*
	 * 删除
	 */
	public Result deleteRegistry(Integer registryId);
	/*
	 * 查询全部
	 */
	public Result listAll();

}
